# animation_creator

set (Animation_creator_name AnimationCreationTool)
set (SOURCES
  main.cpp
  )

set (MOC_HEADERS
  )

set (UIS
  animation_creator.ui
  )

set (RESOURCES
  )

# QT needed for building all Qt projects 
find_package (QT4 REQUIRED)
include (${QT_USE_FILE})
add_definitions (${QT_DEFINITIONS})
include_directories (${CMAKE_CURRENT_BINARY_DIR})

# precompiler

# QT meta-system(precompiler)
QT4_ADD_RESOURCES (RES_SOURCES ${RESOURCES})
QT4_WRAP_UI (UI_HEADERS ${UIS})
QT4_WRAP_CPP (MOC_SRCS ${MOC_HEADERS})

#compile
add_executable (${Animation_creator_name} ${SOURCES} ${MOC_SRCS} ${RES_SOURCES} ${UI_HEADERS})

# link libraries
target_link_libraries (${Animation_creator_name} ${QT_LIBRARIES})
 